import http from '@/service/http'
import type * as T from '@/types/api/index'
const roleUserApi: T.IRouleUserApi = {
  list(data) {
    return http.post('/admin/RoleUser/list', data)
  },
  add(data) {
    return http.post('/admin/RoleUser/add', data)
  },
  edit(data) {
    return http.post('/admin/RoleUser/edit', data)
  },
  del(data) {
    return http.post('/admin/RoleUser/dels', data)
  },
  password(data) {
    return http.post('/admin/Route/password', data)
  }
}

export default roleUserApi
